﻿using System.Data;

namespace Live
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("请输入你的生日");
            TimeSpan Livetime ;
            string birthday=Console.ReadLine();
            if (DateTime.TryParse(birthday, out DateTime time))
            { Livetime= System.DateTime.Today - time; 
            Console.WriteLine($"你已经活了{Livetime.Days}天");
            }
            
        }
        
    }
}
